<?php
namespace frontend\widgets\chat;
/**
 * 问题感觉这个编辑器有点卡卡的
 * created by panchaozhi
 * 咦，还不错呀，不卡了现在？
 */
use yii\bootstrap\Widget;
use frontend\models\FeedsForm;

class ChatWidget extends Widget
{

    public function run()
    {
        $model = new FeedsForm();
        $data['feed'] = $model->getList();
        
        return $this->render('index', ['data' => $data]);
    }
}